package com.snow4cloud.common.security.annotation;

import com.snow4cloud.common.security.config.AuthorizationServerConfig;
import com.snow4cloud.common.security.config.SecurityConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Description
 * @Author fanxl
 * @Date 2021/5/10
 **/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({AuthorizationServerConfig.class, SecurityConfig.class})
public @interface EnableOauth2 {
}
